package com.bdqn.petmalldemo.bo;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author:彭俊
 * @description:用户登录条件实体类
 * @date:2020/2/141140
 */
@Data
@ApiModel
public class UserLoginBo implements Serializable {
    @ApiModelProperty(value ="用户名")
    private String username;
    @ApiModelProperty(value = "密码")
    private  String password;
    @ApiModelProperty(value = "角色")
    private Integer role;

    @Override
    public String toString() {
        return JSONObject.toJSONString(this);
    }

}
